package com.murray.assignment.mapper;

import com.murray.assignment.pojo.Cart;
import com.murray.assignment.pojo.Users;
import org.springframework.stereotype.Repository;

/**
 * @author Murray
 * @Date 2021/6/7
 * @Time 17:09
 */
@Repository
public interface UsersMapper {
    Integer addUserByUsername(Users users);

    Integer addUserByPhone(Users users);

    Integer findUserByUname(Users users);

    Users findUserByUnameAndUpwd(Users users);

    Integer addCartWithUsers(Cart cart);
}
